﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Login.ascx.cs" Inherits="Pub_Module_Login" %>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;" class="tbl_News">
    <tr>
        <td align="center" class="td_TitileNews">
            <asp:Label ID="Label1" runat="server" Text="ĐĂNG NHẬP"></asp:Label></td>
    </tr>
    <tr>
        <td class="td_Content">
            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                <tr>
                    <td class="PaddingLeft_Top">
                        <asp:Panel ID="pnlLogin" runat="server" Width="100%">
                            <table border="0" cellpadding="2" cellspacing="0" style="width: 100%;">
                                <tr>
                                    <td align="center">
                                        <asp:TextBox ID="txtUserName" runat="server" CssClass="txt_Common" onblur="javascript:if(this.value==''){this.value=' tài khoản';};"
                                            onfocus="javascript:if(this.value==' tài khoản'){this.value='';};" MaxLength="20"
                                            size="8" value=" tài khoản" Width="90%"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <asp:TextBox ID="txtPassword" Width="90%" runat="server" CssClass="txt_Common" TextMode="Password"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Button ID="btnLogin" runat="server" CssClass="btn_Common" OnClick="btnLogin_Click"
                                            Text="Đăng nhập" CausesValidation="False" /><br />
                                        <asp:HyperLink ID="HyperLink1" runat="server" CssClass="lbl_InfLogin" NavigateUrl="~/Member/Register/ForgotPassword.aspx">Quên mật khẩu</asp:HyperLink><br />
                                        <asp:HyperLink ID="HyperLink2" runat="server" CssClass="lbl_InfLogin" NavigateUrl="~/Member/Register/Register.aspx">Chưa có tài khoản? Đăng ký ngay!</asp:HyperLink></td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:Panel ID="pnlLogout" runat="server" Width="100%" Visible="false">
                        &nbsp;
                            <table border="0" cellpadding="2" cellspacing="0" style="width: 100%">
                                <tr>
                                    <td style="height: 72px;" align="center">
                                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                            <tr>
                                                <td align="center">
                                                    <table border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="Label2" runat="server" Text="Chào: " CssClass="lbl_Logout"></asp:Label>
                                                                <asp:Label ID="lblUserNm" runat="server" Text="" CssClass="lbl_Logout"></asp:Label></td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <asp:LinkButton ID="lbtnSignout" runat="server" CssClass="lbl_Signout" OnClick="lbtnSignout_Click"
                                                        CausesValidation="False">Thoát</asp:LinkButton></td>
                                            </tr>
                                            <tr>
                                                <td align="left" style="padding-left: 20px; padding-top: 10px">
                                                <li align="left"><a href='<%=ResolveUrl("~")%>Member/MyOrder/MyAccount.aspx' style="color: White;
                                                        text-decoration: none" onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'">
                                                        Tài khoản của bạn</a></li>
                                                    <li align="left"><a href='<%=ResolveUrl("~")%>Member/MyOrder/MyOrder.aspx' style="color: White;
                                                        text-decoration: none" onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'">
                                                        Chi tiết đơn hàng của bạn</a></li>
                                                    
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td class="td_TitleBottom">
        </td>
    </tr>
</table>
